package unilearn.facade;

import unilearn.domain.DataFile;

import java.sql.SQLException;
import javax.naming.NamingException;
import java.io.IOException;

import unilearn.da.DAFile;

/**
 * @author James Owen
 * @version 0.1, 30 April 2008, initial creation
 */
public class FileFacade
{
	public static long insertFile(DataFile file) throws SQLException, NamingException,
		IOException
	{
		return DAFile.insertFile(file);
	}

	public static DataFile getFileByID(long fileID) throws SQLException, NamingException,
		IOException
	{
		return DAFile.getByFileID(fileID);
	}

	public static void deleteFile(DataFile updateFile)
	{
		// TODO Auto-generated method stub
	}
}
